import { createApp } from 'vue'
import App from './App.vue';
import router from './router';
import './style/reset.css';
import './style/iconfont.css';
import './style/style.css';
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia';

const pinia = createPinia();


const app = createApp(App);
app.use(router);
app.use(pinia);
app.mount('#app').$nextTick(() => {

  // Use contextBridge
  window.ipcRenderer.on('main-process-message', (_event, message) => {
    console.log(message)
  })
})
